package helipay.api.dao;

import helipay.api.model.Merchant;

import java.util.List;

/**
 * Created by yimi on 2017/6/2.
 */
public interface MerchantDao extends BaseDao<Merchant> {

     Merchant login(String customerNumber,String loginPassword);

     Merchant getMerchant(String customerNumber);

     Integer changePassword(Long id,String newPassword);

     List<Merchant> merchantList();

}
